package com.Shoping.entity.Integrate;

import com.Shoping.entity.Color;

import java.util.List;

public class EditItemX {
    private String cmName;//商品名称
    private String cgName;//商品类别名
    private List<Color> list;//商品对应的颜色
    private String cmDetails;//商品详情
    private Double cmPrice;//商品价格
    private String cmImg;//图片路径
    private Integer cgId;//商品类别Id

    @Override
    public String toString() {
        return "EditItemX{" +
                "cmName='" + cmName + '\'' +
                ", cgName='" + cgName + '\'' +
                ", list=" + list +
                ", cmDetails='" + cmDetails + '\'' +
                ", cmPrice=" + cmPrice +
                ", cmImg='" + cmImg + '\'' +
                ", cgId=" + cgId +
                '}';
    }

    public String getCmName() {
        return cmName;
    }

    public void setCmName(String cmName) {
        this.cmName = cmName;
    }

    public String getCgName() {
        return cgName;
    }

    public void setCgName(String cgName) {
        this.cgName = cgName;
    }

    public List<Color> getList() {
        return list;
    }

    public void setList(List<Color> list) {
        this.list = list;
    }

    public String getCmDetails() {
        return cmDetails;
    }

    public void setCmDetails(String cmDetails) {
        this.cmDetails = cmDetails;
    }

    public Double getCmPrice() {
        return cmPrice;
    }

    public void setCmPrice(Double cmPrice) {
        this.cmPrice = cmPrice;
    }

    public String getCmImg() {
        return cmImg;
    }

    public void setCmImg(String cmImg) {
        this.cmImg = cmImg;
    }

    public Integer getCgId() {
        return cgId;
    }

    public void setCgId(Integer cgId) {
        this.cgId = cgId;
    }

    public EditItemX(String cmName, String cgName, List<Color> list, String cmDetails, Double cmPrice, String cmImg, Integer cgId) {
        this.cmName = cmName;
        this.cgName = cgName;
        this.list = list;
        this.cmDetails = cmDetails;
        this.cmPrice = cmPrice;
        this.cmImg = cmImg;
        this.cgId = cgId;
    }

    public EditItemX() {
    }
}
